]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Stop using appstream-util for metainfo validation
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 21 Oct 2024 00:43:24 +0000 (02:43 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 21 Oct 2024 10:18:05 +0000 (10:18 +0000)
Everything, including flathub[0], should be using appstreamcli
now, so stop supporting the old tool as well.

[0] https://docs.flathub.org/blog/improved-build-validation

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>

subprojects/extensions-app/data/metainfo/meson.build
subprojects/extensions-app/meson.build

index a2f63ec70c956ded3d650512b479b5bd449ae254..13e562b79be12835a2ef97d4bbf93d2352d7a8e8 100644 (file)
@@ -14,14 +14,6 @@ metainfo = i18n.merge_file(
   install_dir: metainfodir
 )
 
-if (appstream_util.found())
-  test('Validating metainfo via appstream_util',
-    appstream_util,
-    args: ['validate', '--nonet', metainfo],
-    workdir: meson.current_build_dir()
-  )
-endif
-
 # Validate Appdata
 if (appstreamcli.found())
   test('Validating metainfo',
index 4b3598b778449c425a025e2714cc396248954412..3bce3a3e69fc7f3fb858571f7dc6649dcfb93442 100644 (file)
@@ -48,7 +48,6 @@ schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
 servicedir = join_paths(datadir, 'dbus-1', 'services')
 
 gjs = find_program('gjs')
-appstream_util = find_program('appstream-util', required: false)
 appstreamcli = find_program('appstreamcli', required: false)
 desktop_file_validate = find_program('desktop-file-validate', required: false)